PBDeleteFileIDRefSync
Boolean async ; 0=await completion; 1=immediate return pb is a pointer to a FIDParam structure.The relevant fields are as follows:
Æ ioCompletion ProcPtr 4 12 pointer to completion routine ¨ ioResult short 2 16 result code
Æ ioNamePtr StringPtr 4 18 pointer to first filename Æ ioVRefNum short 2 22 volume specification (volume reference number,
working directory reference number, drive
number, or 0 for default volume)
ۮ ioFileID long 4 54 file ID
async is a Boolean value. Use FALSE for normal (synchronous) operation or TRUE to enqueue the request and resume control immediately. See Async I/O.
noErr (0) No error
nsvErr (-35) Volume not found
ioErr (-36) I/O error
wPrErr (-44) Hardware volume lock
vLckdErr (-46) Software volume lock
volOfflinErr (-53) Volume is off line
extFSErr (-58) External file system
fidNotFoundErr (-1300) File ID not found
specified by ioVRefNum or ioNamePtr. After it has invalidated a file ID, the
File Manager can no longer resolve that ID to a filename and parent directory ID.